<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">

	<title>Class LeanCloud\Bytes</title>

	<link rel="stylesheet" href="resources/style.css?c2f33731c1948fbed7c333554678bfa68d4817da">

</head>

<body>
<div id="left">
	<div id="menu">
		<a href="index.html" title="Overview"><span>Overview</span></a>


		<div id="groups">
				<h3>Namespaces</h3>
			<ul>
				<li class="active">
					<a href="namespace-LeanCloud.html">
						LeanCloud<span></span>
					</a>

						<ul>
				<li>
					<a href="namespace-LeanCloud.Engine.html">
						Engine					</a>

						</li>
				<li>
					<a href="namespace-LeanCloud.Operation.html">
						Operation					</a>

						</li>
				<li>
					<a href="namespace-LeanCloud.Storage.html">
						Storage					</a>

						</li>
				<li>
					<a href="namespace-LeanCloud.Uploader.html">
						Uploader					</a>

						</li>
							</ul></li>
			</ul>
		</div>

		<hr>


		<div id="elements">
			<h3>Classes</h3>
			<ul>
				<li><a href="class-LeanCloud.ACL.html">ACL</a></li>
				<li class="active"><a href="class-LeanCloud.Bytes.html">Bytes</a></li>
				<li><a href="class-LeanCloud.Client.html">Client</a></li>
				<li><a href="class-LeanCloud.File.html">File</a></li>
				<li><a href="class-LeanCloud.GeoPoint.html">GeoPoint</a></li>
				<li><a href="class-LeanCloud.MIMEType.html">MIMEType</a></li>
				<li><a href="class-LeanCloud.Object.html">Object</a></li>
				<li><a href="class-LeanCloud.Push.html">Push</a></li>
				<li><a href="class-LeanCloud.Query.html">Query</a></li>
				<li><a href="class-LeanCloud.Relation.html">Relation</a></li>
				<li><a href="class-LeanCloud.Role.html">Role</a></li>
				<li><a href="class-LeanCloud.SaveOption.html">SaveOption</a></li>
				<li><a href="class-LeanCloud.SMS.html">SMS</a></li>
				<li><a href="class-LeanCloud.User.html">User</a></li>
			</ul>



			<h3>Exceptions</h3>
			<ul>
				<li><a href="class-LeanCloud.BatchRequestError.html">BatchRequestError</a></li>
				<li><a href="class-LeanCloud.CloudException.html">CloudException</a></li>
			</ul>


		</div>
	</div>
</div>

<div id="splitter"></div>

<div id="right">
<div id="rightInner">
	<form id="search">
		<input type="hidden" name="cx" value="">
		<input type="hidden" name="ie" value="UTF-8">
		<input type="text" name="q" class="text" placeholder="Search">
	</form>

	<div id="navigation">
		<ul>
			<li>
				<a href="index.html" title="Overview"><span>Overview</span></a>
			</li>
			<li>
				<a href="namespace-LeanCloud.html" title="Summary of LeanCloud"><span>Namespace</span></a>
			</li>
			<li class="active">
<span>Class</span>			</li>
		</ul>
		<ul>
		</ul>
		<ul>
		</ul>
	</div>

<div id="content" class="class">
	<h1>Class Bytes</h1>


	<div class="description">
	<p>Byte array data type for Object</p>
	</div>









	<div class="info">
		
		
		<b>Namespace:</b> <a href="namespace-LeanCloud.html">LeanCloud</a><br>
		

			<b>Located at</b> <a href="source-class-LeanCloud.Bytes.html#5-78" title="Go to source code">LeanCloud/Bytes.php</a>
		<br>
	</div>



	<table class="summary methods" id="methods">
	<caption>Methods summary</caption>
	<tr data-order="createFromByteArray" id="_createFromByteArray">

		<td class="attributes"><code>
			 public static

			<code><a href="class-LeanCloud.Bytes.html">LeanCloud\Bytes</a></code>
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_createFromByteArray">#</a>
		<code><a href="source-class-LeanCloud.Bytes.html#16-26" title="Go to source code">createFromByteArray</a>( <span>array <var>$byteArray</var></span> )</code>

		<div class="description short">
			<p>Create Bytes from byte array</p>
		</div>

		<div class="description detailed hidden">
			<p>Create Bytes from byte array</p>


				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$byteArray</var></dt>
					<dd></dd>
				</dl></div>

				<h4>Returns</h4>
				<div class="list">
					<code><a href="class-LeanCloud.Bytes.html">LeanCloud\Bytes</a></code>
				</div>




		</div>
		</div></td>
	</tr>
	<tr data-order="createFromBase64Data" id="_createFromBase64Data">

		<td class="attributes"><code>
			 public static

			<code><a href="class-LeanCloud.Bytes.html">LeanCloud\Bytes</a></code>
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_createFromBase64Data">#</a>
		<code><a href="source-class-LeanCloud.Bytes.html#28-43" title="Go to source code">createFromBase64Data</a>( <span>string <var>$data</var></span> )</code>

		<div class="description short">
			<p>Create Bytes from base64 encoded string</p>
		</div>

		<div class="description detailed hidden">
			<p>Create Bytes from base64 encoded string</p>


				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$data</var></dt>
					<dd>Base64 encoded string</dd>
				</dl></div>

				<h4>Returns</h4>
				<div class="list">
					<code><a href="class-LeanCloud.Bytes.html">LeanCloud\Bytes</a></code>
				</div>




		</div>
		</div></td>
	</tr>
	<tr data-order="getByteArray" id="_getByteArray">

		<td class="attributes"><code>
			 public 

			array
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_getByteArray">#</a>
		<code><a href="source-class-LeanCloud.Bytes.html#45-52" title="Go to source code">getByteArray</a>( )</code>

		<div class="description short">
			<p>Get byte array</p>
		</div>

		<div class="description detailed hidden">
			<p>Get byte array</p>



				<h4>Returns</h4>
				<div class="list">
					array
				</div>




		</div>
		</div></td>
	</tr>
	<tr data-order="asString" id="_asString">

		<td class="attributes"><code>
			 public 

			string
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_asString">#</a>
		<code><a href="source-class-LeanCloud.Bytes.html#54-65" title="Go to source code">asString</a>( )</code>

		<div class="description short">
			<p>Get string representation of byte array</p>
		</div>

		<div class="description detailed hidden">
			<p>Get string representation of byte array</p>



				<h4>Returns</h4>
				<div class="list">
					string
				</div>




		</div>
		</div></td>
	</tr>
	<tr data-order="encode" id="_encode">

		<td class="attributes"><code>
			 public 

			array
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_encode">#</a>
		<code><a href="source-class-LeanCloud.Bytes.html#67-76" title="Go to source code">encode</a>( )</code>

		<div class="description short">
			<p>Encode to LeanCloud bytes type</p>
		</div>

		<div class="description detailed hidden">
			<p>Encode to LeanCloud bytes type</p>



				<h4>Returns</h4>
				<div class="list">
					array
				</div>




		</div>
		</div></td>
	</tr>
	</table>


















</div>

	<div id="footer">
		 API documentation generated by <a href="http://apigen.org">ApiGen</a>
	</div>
</div>
</div>
<script src="resources/combined.js"></script>
<script src="elementlist.js"></script>
</body>
</html>
